package com.wolf.repository;

import com.wolf.pojo.Wl_sys_dictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Wl_sys_dictionaryMapper {
    int deleteByPrimaryKey(String id);

    int insert(Wl_sys_dictionary record);

    int insertSelective(Wl_sys_dictionary record);

    Wl_sys_dictionary selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Wl_sys_dictionary record);

    int updateByPrimaryKey(Wl_sys_dictionary record);

    /**
     * 查询所有
     * @return
     */
    List<Wl_sys_dictionary> getAll();

    /**
     * 查询所有
     * @return
     */
    List<Wl_sys_dictionary> getSelective(@Param("typename")String typename,@Param("name") String name);

}